//地图配置文件
interface MapConfig {
  mainland: string
  mapName: string
  version: string
  mapType: string
  minZoom: number
  maxZoom: number
  bounds: [number[], number[]]
  center: L.LatLngExpression
  pointClass: string
}

const mapConfigObj: { [key: string]: MapConfig } = {
  ys: {
    mainland: '提瓦特大陆',
    mapName: 'ys',
    version: '1.0',
    mapType: 'png',
    minZoom: 4,
    maxZoom: 7,
    bounds: [
      [0, 0],
      [-256, 256],
    ],
    center: [-102, 148],
    pointClass: '',
  },
  gw2: {
    mainland: '泰瑞亚（世界）',
    mapName: 'gw2',
    version: '1.0',
    mapType: 'jpg',
    minZoom: 1,
    maxZoom: 7,
    bounds: [
      [0, 0],
      [-384, 384],
    ],
    center: [-84, 88],
    pointClass: 'no-bg-point',
  },
}

export default mapConfigObj
